package org.example.search.api;

import org.example.core.constant.TokenConstants;
import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("member-service")
public interface MemberService {

    @GetMapping("/ums/front/mCollect/spuIds")
    R<List<Long>> querySpuIds(@RequestHeader(TokenConstants.MEMBER_ID) String memberId);
}